package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.SysRoleDto;
import com.atguigu.spzx.model.entity.system.SysRole;

import java.util.List;

public interface SysRoleMapper {

    List<SysRole> selectByPage(SysRoleDto sysRoleDto);

    void addSysRole(SysRole sysRole);

    SysRole getById(Long id);

    void updateById(SysRole sysRole);

    void deleteById(Long id);

    List<SysRole> getRoleList();
}
